package com.google.android.exoplayer2.extractor.flv;

import com.google.android.exoplayer2.ParserException;
import o.aef;
import o.anc;

public abstract class TagPayloadReader {
    protected final aef ˏ;

    public static final class UnsupportedFormatException extends ParserException {
        public UnsupportedFormatException(String str) {
            super(str);
        }
    }

    protected abstract void ˊ(anc o_anc, long j) throws ParserException;

    protected abstract boolean ॱ(anc o_anc) throws ParserException;

    protected TagPayloadReader(aef o_aef) {
        this.ˏ = o_aef;
    }

    public final void ॱ(anc o_anc, long j) throws ParserException {
        if (ॱ(o_anc)) {
            ˊ(o_anc, j);
        }
    }
}
